package cn.dark.auth.core.tokengenerate;

import java.util.UUID;
import org.springframework.stereotype.Component;

/**
 * @author dark
 * @date 2023-10-26
 */
@Component
public class DefaultTokenGenerator extends AbstractTokenGenerator {
    @Override
    public String doGenerate(Object loginId, String device) {
        return UUID.randomUUID().toString();
    }
}
